package pl.qsoft.db.storedProc.complex;

import pl.qsoft.db.exception.StoredProcedureDefinitionException;

/**
 * Defalut ComplexObjectBuilder. Class should not be used in 
 * real scenario. Class has no any building logic and is used
 * for handling stored porcedure definition errors. 
 * 
 * @author Maciej Peruga
 *
 */
public class DefaultComplexObjectBuilder extends ComplexObjectBuilder {

	/* (non-Javadoc)
	 * @see pl.qsoft.db.storedProc.complex.ComplexObjectBuilder#buildObject(java.lang.Object)
	 */
	public Object buildObject(Object objectIn) {
		throw new StoredProcedureDefinitionException("ComplexObjectBuilder must be definied.");
	}

}
